package megrez.mail.sender;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import lombok.extern.slf4j.Slf4j;
import megrez.mail.sender.common.MailSenderService;

/**
 * 自动配置
 * 
 * @author Lucky Yang
 * @since 2.6.9
 */
@Slf4j
@Configuration
public class NoopAutoConfig {


    @Bean
    public MailSenderService mailSenderService() {
        log.info("starter-noop-sender plugin enabled");
        return new NoopMailSenderService();
    }
}
